home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / sysadmin.830 < prev    next >
Text File  |  1992-02-06  |  1KB  |  38 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fswiss Helvetica;}
  2. \paperw13040
  3. \paperh10800
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ul0\fs28\fc0 cron vi Edit\
  8.  
  9. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 \
  10. Q:  Why won't the entry on the last line of of my 
  11. \b /etc/crontab
  12. \b0  or 
  13. \b /etc/crontab.local
  14. \b0  file not execute?  I'm certain the syntax is correct (I can execute the same command from a shell).\
  15. \
  16.  
  17. \fc0 A:  You've probably used the Edit program to add the last line of 
  18. \b crontab
  19. \b0  or 
  20. \b crontab.local
  21. \b0 .  The 
  22. \b cron
  23. \b0  program is very sensitive to the format of these files.  If there is not a newline character following the last line, 
  24. \b cron
  25. \b0  will not execute the last line.  The solution is to edit the file by placing the cursor after the last character and pressing the Return key.  Note that 
  26. \b vi
  27. \b0  does not exhibit this 
  28. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 behavior
  29. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0  (it automatically places a newline in the correct place).\
  30. \
  31. \
  32. QA831\
  33. \
  34. Valid for 1.0\
  35. Valid for 2.0\
  36. \
  37.  
  38.